package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 返点状态
 */
@Data
@TableName("ch_profit_back_info")
public class ProfitBackInfo {


    @TableId
    Long id;

    @ApiModelProperty(value = "来源用户id")
    String userId;
    @ApiModelProperty(value = "返点用户id")
    String toUserId;
    @ApiModelProperty(value = "来源用户名称")
    String userName;
    @ApiModelProperty(value = "来源用户头像")
    String userPic;
    @ApiModelProperty(value = "产生日期")
    Date submitDate;
    @ApiModelProperty(value = "估计完成日期")
    Date estimateDate;
    @ApiModelProperty(value = "金额")
    Double amount;
    @ApiModelProperty(value = "返点类型 1自购收入 2分享收入 3上级收入")
    Integer profitType;
    @ApiModelProperty(value = "返点状态 1未支付 2在路上 3已完成")
    Integer profitStatus;
    @ApiModelProperty(value = "订单流水号")
    String orderNumber;


}
